home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Enigma Amiga Life 109
/
EnigmaAmiga109CD.iso
/
dalla rivista
/
netconnect3
/
genesis104_demo
/
genesis
/
doc
/
read me socket.library
< prev
next >
Wrap
Text File
|
1997-02-11
|
3KB
|
76 lines
What is AS225 and socket.library?
=================================
The AS225 was a TCP/IP stack developed by Commodore. Its second release was
first TCP/IP stack for Amiga which could use SANA-II device drivers.
However, that release was not published and it was distributed only to Amiga
developers before Commodore went bankrupt.
AS225 provides an API (Application Program Interface) called
`socket.library' that is very similar to the AmiTCP/IP API,
`bsdsocket.library'. However, the AS225 API is not compatible with
bsdsocket.library, and the programs written for AS225 API need a special
adaptation layer in order to work with AmiTCP/IP.
Compatibility Issues
====================
The socket.library that comes with AmiTCP/IP 4.3 emulates most of the API
function calls provided by the AS225. However, due to the different way the
AS225 and AmiTCP/IP handle their internal databases, the following
deprecated function calls are not supported:
setnetent setprotoent setservent sethostent
endnetent endprotoent endservent endhostent
getnetent getprotoent getservent gethostent
Also, the following ioctl codes are not supported:
SIOCSSLIPDEV, SIOCGIFCONF, SIOCSARP, SIOCGARP, SIOCDARP
The reconfig() library call is not supported. You can use Stopnet and
Startnet commands instead of them.
Using socket.library
====================
You can use the emulation library by making an assign "Inet:" to the AmiTCP
directory, e.g. by adding the line
assign INet: AmiTCP:
to the user-startup after the usual AmiTCP/IP stuff.
Another possibility is to explicitly load the socket.library to memory
before you use it. You can use the "loadlib" or "loadresource" utility to
do that like this:
loadresource AmiTCP:libs/socket.library lock
or
loadlib AmiTCP:libs/socket.library
Resources loaded with loadlib will stay in the memory until they is flushed.
Third approach is to make assign INet: anywhere in your disks and copy the
socket.library to the directory INet:libs. This may be the easiest way if
you have previously used the AS225. Please remember to make a backup copy
of your original socket.library.
NO WARRANTY
===========
THERE IS NO WARRANTY FOR THE `SOCKET.LIBARY', TO THE EXTENT PERMITTED BY
APPLICABLE LAW. THE `SOCKET.LIBARY' IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
NECESSARY SERVICING, REPAIR OR CORRECTION.
#EOF